import {NgModule} from '@angular/core';
import {BrowserModule} from '@angular/platform-browser';
import {FormsModule} from '@angular/forms';
import {HttpModule} from '@angular/http';
import {CommonModule} from '@angular/common';
import {FileUploadModule} from 'ng2-file-upload';
import {BusinessRoutingModule} from './business-routing.module';
import {NavbarComponent} from './navbar/navbar.component';
import {BusinessComponent} from './business.component';
import {BaseComponent} from './common/base.component';
import {AlertComponent} from './elements/alert.component';
import {NavbarService} from './navbar/navbar.service';
import {PaginationComponent} from './elements/pagination.component';
import {CustSelectComponent} from './elements/cust-select.component';
import {NewsComponent} from './news/news.component';
import {AddNewsService} from './news/news.service';
@NgModule({
  declarations: [
    BusinessComponent,
    NavbarComponent,
    BaseComponent,
    AlertComponent,
    PaginationComponent,
    CustSelectComponent,
    NewsComponent
  ],
  exports: [
    AlertComponent,
    BaseComponent
  ],
  imports: [
    BrowserModule,
    FormsModule,
    HttpModule,
    CommonModule,
    FileUploadModule,
    BusinessRoutingModule
  ],
  providers: [
    NavbarService,
    AddNewsService
  ]
})
export class BusinessModule {
}
